@L}5 _$% l0$)$$Hȱ$ UhL" `e$$%`$%`  R@W!( L(1   Y I`  d  Ld M * @  $ % CC$$)%1 Udߥ$9%: !0 S$% DD˙`  }J)Lr d M * @  $ % CC$$)%1 Udߥ$9%: !0 S$%} DD˙`  }J)Lr J  ((  p L ()   J}L= ( L 0q A    IB JC;? D W } LL  ` W )LA!  ߰")-݆ p" } $G@LL 08`Q")<2Q0 -G$Ș݆ UL# ; p8(()(0ʥ)NQ` }$GȘ݆LU )L ݆ L GȘ ݆LL )W>Z   HH)H }p h  hyhy D L> L JJ    ! LA*` BF }7'8  M HN H` 8 Z  \LdJJ!"! GFE@F (!L }EE !E^ ^ E E7EȩEdE/EȩE  D } .L }  ;F d  ;?F7F? ( .   Z D LL d } . D  L    p  E` , d)  D L) 0BM݊L݉} ML  N݆ L NLML [ TEqEHȱEqEh 0Gȹ G} HLL GɛL  LFREE SECTORS G) *Gȩ GȽG GȌ*jj >G} C8jJ3j2CD( C202C ԠBX` N 1? l LlD:RAMDISK}.COMLu L1 L ;LHL  T`  `1  ɐ     `TU  } L ? .  t`GBJ ~DEHI B V0dV!}QDEHI VF9 ,0 ,0 s0hhL  L` H hDHEh"}DEL8HI4 0 HI,0 0  9 .G VLO#},0 L4*IJ`llD1:AUTORUN.SYSNEED MEM.SAV TO LOAD THIS FILE.D1:MEM.SAV J y08 B|DEHI$} V0 0`B;DEL`?<0LV`@ʆ v s? F0Ξ05: [ BDEHI%} VY8 B V  @  /DE `E:D1:DUP.SYSERROR-SAVING USER MEMORY ON DISKTYPE Y TO &}STILL RUN DOS B;DE J  (` 9 V⪍ ઍ  -'}LLu ÝDEHILV 9 .l 9 .l  `` s$B BH(}I|DE V BLV nB,DE JLV B V BLVDEIʩ BꭝLu }MAGNIFY MAGNIFY is a program which allows you to take any graphics 8 or graphics 7 1/2 (Micro-Painter format) file and*} dump it to your Epson (or compatible) printer. There are several extra features in this program which make it different fro+}m the many public domain screen dump utilities around. I had started out with such a program (KWIKDUMP), and started add,}ing extra features. In the end, it was becoming too slow, since it was written in Atari Basic, and I was unable to add the l-}ast few special features, so I decided to write the whole thing in machine language. One problem I had with KWIKDUMP was.} that it simply dumped the screen to the printer with no editing capabilities. Any 1-bits in the picture printed as black an/}d 0-bits printed as white. Depending on the choice of colour registers in the picture, the printed image could end up lookin0}g like a negative. To resolve this in my modified version of KWIKDUMP, I created a routine to flip all the bits in the pict1}ure. Another problem was the printed pictures were too small, taking up less than 1/4 of the page. I wanted them to be 2}closer to a full page in size. My first cut at magnifying the picture was to take each bit and print it as a 2x2 square of b3}its with the same value. Each 1-bit would become 2 1-bits side by side which were printed twice. This worked fine, but led 4}to rather blocky pictures. It also did not allow for the fact that graphics 7 1/2 pictures have four colours, and it would b5}e nice to try to differentiate between them. I decided to try to magnify each pair of bits together, calling it 2-bit ho6}rizontal magnification. Each pair of bits beside each other horizontally on the screen (1 pixel in graphics 7 1/2) are treat7}ed as one entity to be magnified. A bit pattern consisting of a 1 followed by a 0 (i.e. 10) becomes 1010. This bit pattern 8}would be printed two times, thus supplying the vertical magnification. This helped to distinguish between the 4 colours of t9}he original picture, since a 10 or 01 pattern would look gray instead of black. However, this method still had some prob:}lems in the vertical direction. I therefore decided to add another routine which would treat each pair of bits in the vertic;}al direction as one entity for magnification, calling it 2-bit vertical magnification. Instead of taking a 1 and 0 verticall<}y and making them 1100, I made them 1010 vertically. This helped to alleviate some of the problems. Finally, I created =}a routine which implemented both 2-bit magnifications, calling it 2-bit horizontal and vertical magnification. I was now>} able to print pictures the way I wanted, using the much modified KWIKDUMP, with a number of machine language subroutines sto?}red as strings doing the magnifying and flipping. However, I could not tell what the picture was going to look like until I @}printed it in all of the different modes. Why not magnify it on the screen, and scroll around the picture, thus deciding whiA}ch magnification technique was best! Goodbye basic and hello assembly language! MAGNIFY was born. Writing it was a greB}at learning experience. I had to be able to read the disk directory and display it, read the picture file itself, implement C}smooth scrolling, and dump the picture to the printer, and all in one program! Great stuff. In writing this program, I D}had to make several compromises due to memory restrictions. It will only read Micro-Painter format picture files (i.e. uncomE}pressed), and does no error trapping when reading the file. I can only magnify the middle 32 bytes of the 40 bytes per line F}of picture. The ANTIC chip does not allow a display line to cross a 4K boundary. When implementing smooth horizontal scrollG}ing, you create a display line which is wider than the screen, and you only show part of it. To make the magnification and sH}crolling routines as simple as possible, I chose a display line width which divided evenly into 4096 (4K). The best choice wI}as 64, which is 2x32. Besides, I didn't have enough memory to magnify the whole 7680 bytes of a graphics 7 1/2 picture.USIJ}NG MAGNIFY The MAGNIFY program should be put on a DOS disk as an autorun file (i.e. name it AUTORUN.SYS for DOS 2.0). BK}oot your computer without any cartridges (hold down OPTION on XL/XE's). Once MAGNIFY has loaded and gives you the startuL}p screen, remove the program disk and put in your picture disk and press START. You will now see a list of all the files on M}the disk which have an extender of .?IC where the ? is any legal character for a filename. This allows for .MIC and .PIC. EN}ach file has a letter beside it. Press the appropriate letter for the picture you want and it will be loaded. The pictuO}re will initially be displayed in graphics 8. If you are using a television as your display device, artifacting could make yP}our picture look rather interesting. I use a monitor, and in hi-res mode it displays the pictures properly without any artifQ}acting. To invert all bits (exchanging black and white), press OPTION. To switch back and forth between graphics 8 R}and 7 1/2, press SELECT. Now plug a joystick into port 1 and let's start magnifying. If you press the joystick button yS}ou will cycle through the 5 magnification modes, which are: (1) none (2) 1-bit horizontal and vertical (3) 2-bit horizontT}al and 1-bit vertical (4) 1-bit horizontal and 2-bit vertical (5) 2-bit horizontal and vertical. In any of the four maU}gnified modes you can scroll around the picture, checking out how different areas look. Once you have decided which magnificV}ation technique should work best on your printer, press START. The full picture will be printed in the same magnification moW}de as is currently on the display. To return to the directory menu, press the ESC key. If you want to change picture diX}sks, simply press ESC again, change disks and press START. I hope you find MAGNIFY a useful program. I certainly do, anY}d I also learned a lot about the graphics capabilities of Atari computers while writing it. Have fun!m. I certainly do, ang(    2 f TA  , 0 ^ ZL   ~! ! A Z$ j$ !  @$ !! ! !  E! _! ~![} @$ "L{ةDA01$ \`j`T Uͅԩթܩ  @$LRequires 48K RAMN(NʍNN`(\}F`0B0DEJK V`E:TUNԩթܩ `î 5$TU]}ԩթܩ  @$T`Load picture disk, press STARTTUͅԩթܩ `Choose a picture by its letter0^} BԝD՝EܝHݝI V` BJ$D E V`D1:*.?IC BKD EHI V` Kԩ թ _}ܩT N TTU K -L  `L hh`8A ԝ* `0BݝD EJ V`K:0B`}HI V A͟ !`!8A DK :L * M .M ?N IO CP Q ` BKD EJ V` Ba}D0EHI V` L!0 B V`S@ԩNթ֩ͅ,ע_ȥԑȥՑ`i@ԥii֥iL!, !"b}/`ʠ, !)ԩ"/`/01`  $LBL#ߢMLK"L"L|&ԩ0թܩc} "CԩNթܩ` " @$L"`8ܥݠIL"I NNNNFL"  " 5$ @$d}L"ԩ, "ͅԩ, "`I)@ iԥi`M ! 5$ @$L" !$L"t# # @$L"e}#LP#t# # @$L"#Ld# 03)rq*rm`srasҍ}#on$o|po}pqpqdsss`Djtj>j?j?j @j>j?jL_>`#H <#H L#H@H/[#QH`/lyy`/}`#H</#< @#<5